OSX building fix #2