configure.ac: fix NCG support in --target=