updated cmake to account for 1.4