Fixed a load library bug.
Merge branch 'fix_load_library_bug'