fixing some issues on GCC i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1

After changing clang with gcc some issues were given in Mesh (new method) now defined in the class declaration.