New cmake option makes migration to 3.0 easier