enable to compile by osx as well