fix modules cmakelists for linux