build.py: use absolute path
jenkins.py: fix windows path too long error on testing