znc-buildmod: build output to the current working directory

If I run znc-buildmod in ~/.znc/modules and pass it a module source
from another directory, I expect the build output to go to the current
working directory instead of the source directory of the module.
Please update other instances of `${MOD}` too