tidied up build script, now includes library in classpath