Add support for extra modules and custom compilers to test-build.