Fully expand directories before doing comparisons in configure.ac