small fix to handle osx builds