smoke test script cleanups

- get rid of temporary source directory junk
- compile before doing any opennms junk
- die if compile fails