Fix a bug in waiting for the embedded asset library to be prepared before continuing with the build.