Fixing cmake files for Linux build and module.