build: module: Fix module path bug

Previously modules could not be referenced, relative to the directory in
which the referencing module resides. This is now fixed.

Signed-off-by: Bart Kuivenhoven <bemkuivenhoven@gmail.com>