fix classpath error when running on remote hadoop instance