Add EnumLPT() test.
Move and rename output library. Handle building by mingw.