fixups for libsvm and install permissions on OSX