Fix for unused parameter warnings
Fix on 32-bit windows
Fix for MSVC2008 (no alignment_of in stdlib)
Fix for building tests on 32-bit windows