Remove race condition about library detection. Oops.