Move AM_CONDITIONAL out of conditional