[libbase] cmake cleanup