updated so cmake v2.8 will work