mmnormalize regex test which expects regex support now runs only if liblognorm is built with regex support enabled

(commit edited to fix a mistake that unintentionally disturbed mmjsonparse)

(rebased to master-mmnormalize)
ax_check_define macro file was missed, added that
Merge pull request #188 from janmejay/conditional-liblognorm-regex-test-fix

fixes mmnormalize regex test to run conditionally, dependent on liblognorm regex support
fixes json_bool test