can't assume classes are compiled to target/classes - lib dir is ok though
added check for missing lib dir
cleanup
renamed with underscore prefix, that's the convention for this script
Merge pull request #1 from burtbeckwith/master

cleanup and bugfix when build classes dir is non-default