Changes for OSX compile - fix #157