fixed an error of m4 macro for detecting -R availability.

incorporated from bundy:
https://github.com/bundy-dns/bundy/commit/2fd2fda5c15db2f7b9bba49875e27b7258d4b5aa