Fix macro to find flint, use macro in other cmake files