fixes to compile on osx