windows build fixes in palette and miniz_png headers