Added config.m4 improvement from issue #51 pull request into the config.m4 template file.