build pinentry before macgpg2