add a patch to compile ruby-2.0.0-p247 on synology, fix #2184