Wait for library.load