Fixing build on non-Windows