Added NOT ANDROID to force use of posix API when building for Android under Windows