msys2: fix coptimizations build