fixing some issues on GCC i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1
Merge pull request #616 from kerautret/compileGCC

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