Fix out of source build issues

The source or target patch for several targets doesn't work when running
an out-of-source build.

Signed-off-by: Justin Lecher <jlec@gentoo.org>