Remove redundant code in configure.com