Do not use AM_CONDITIONAL within a shell conditional

Signed-off-by: W. Michael Petullo <mike@flyn.org>