Fixing compilation problem with shader, adding log output if error occurs during link phase