bugfixes for cmake and README update