build: Check for Apache else issue warning

Issue #21.
build: Use AM_COND_IF not shell test
build: Check for MySQL else issue warning

Issue #21.