Fix for tools tests under osx