Fixed for functions starting with whitespace. Did not need to do this on OS X, recon it is a bug in OS X JVM because it should not behave that way