Make sure the library exists before requiring it.