Best way to get the module path

that is a pretty good reason, unfortunately the best solution seems to be using the build system options to pass that to the module.

this reminded me about an idea i had Exporting data to the build system