Temporarily fixed osx builds. resolves #24