Allow the generation of prefix headers for files in the build directory.

This enables large headers like gtest/gtest.h and gmock/gmock.h to be
precompiled, which is a big win for compiling tests.