Move configuration to autotools template