Added experimental OSX/Darwin support