Fix build test windows

Fixes test fixtures for Windows and adds stdint.h used by MSVC2008.