Fix several subversion bugs, including perl binding modules linking