fix return codes

the return codes were set incorrectly
fix error

build should be build-server
Merge pull request #31 from bodepd/fix_typo

Fix typo