Fixes some OS X specific code that caused the resulting JAR to not work on Linux and Windows