Remove useless header
Better casting for multiplatform
Be able to compile/link enesim with gl on windows