Enable mcrypt php module. Fix dn-relation patching.