D: Fix out-of-source build for examples.