Fixed non-OSX build