Fix compilation and runtime for OSX with the default configuration. #15