Unable to use javafx on OSX