Fix some LB_LIBRARY_PATH loading problems