Pass buildDir in Build_doctests so we can recycle the existing object and interface files from building the package and so we can deal correctly with placement builds.