make test work on osx too