#116 changed cmakelists to allow multi core compilation