Added GLESv2 to libraries and -w to the flags