fix for osx
add os definition