Support building test binaries. Maybe broken.