Fixed generation of certificate on 32bit systems