Added pch support for gcc when using cmake under linux.

Other OSes should use XCode, MSVC or C::B to compile, anyway.

I also removed the jpeg.cmake module as it is useless now,

This fixes #209