Fix windows build (STATIC)