java.library.path wasn't set properly. Was failing to load native libs