Seems that while the module is not imported by anything on windows, it still gets cpped, and MIN_VERSION_unix is not defined so it failed to preprocess.
Changed the parameters to openFd. So needed to add a small wrapper library to keep supporting older versions as well.