Pre-define an empty compiler flag check macro

If the configure host doesn't have the autoconf archive, this may let
configure proceed.
Conditionally compile check_lock() robust mutex support