fix: wrong header order causing build errors on windows