Strawberry 64bit fixes

This fixes the build errors on Strawberry 64bit.  It also simplifies the link step in the tests and removes the dep on Alien::o2dll.

I'm not completely satisfied with the link step, which I am pretty sure will only work with gcc, but I am pretty sure it wouldn't have worked as it was before with Microsoft compiler either.