updated building hpx with cmake