Fixing the jdg cache and build