build: Support --srcdir build.