Fix shader compilation on mesa drivers