Support out of srcdir builds.