Ensure classpath cache directory exist - fix #1