Add cmake 3 support