Set status code when library is not loaded