Fixes #1: Target directives are now relative to source file's location.