Fix shader compilation on mesa drivers

This fix shaders on open source drivers