configure: move tests/tcg/Makefile.prereqs to root build directory