Replaced basic GNU Make with cmake