migrate to gcc4.7
optimize shaders