makefiles: Avoid creating an intermediate rc file for test binaries.