fixes for building

better jars, better paths