Make test not depend on make install; Win32 fix.

Since we often run "make spectest" before "make install", relying on
"lib" being installed somewhere already is wrong. Also, the usual
line-ending tweak for making the test happy on Windows.