Fixed incorrect library initialization
Authored by: artyom-beilis 2010-04-01
Parent: [r1117]
Child: [r1119]