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>
Merge pull request #87 from jlec/master

Fix out of source build issues