Added windows dependencies and fixed header inclusion for Windows