Make things work on osx