Fixed compile problems with glm::max( vec, int ) #232