Fix non-MSYS compilation

My --root= hack caused relative install folders
for the .so files, so only do this hack on MSYS

Also added a test of using crosstool-ng based
darwin cross compilers.