mingw no longer uses mno-cygwin build flag
INPUT is already defined in current windows build environments, so add a prefix to it and make it consistent