make SVS compile on OSX