fix Linux readlink error when running processing-java (issue #1578)