first steps towards OSX support