Added some cmake configuration flags for building on Linux.