make mingw build static no matter what