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.
Merge pull request #758 from jpnurmi/buildmod

znc-buildmod: build output to the current working directory