Fix define guards for X509 api tests.
Before creating any new configure files (.conf) read the CONF_FILES_README.md