Fix 2.6 compatability problem from gnupg