BUG: Change the way we check if external libraries have loaded.