Attempt to fix Windows build by including platform headers.