cmake includes extra characters in extension if there is more than one .