building using cmake