Set initialized flag to true after loading library.