HACK: work round windows npymath compiling

Numpy binaries built with mingw have ``libnpymath.a`` library to link
against, but VC needs ``npymath.lib``.  The mingw library may be
compatible with VC, so detect the problem, and copy the library to a
temporary location to link against.