Fix to ktxtool compile errors on windows.