Use different parameters for base64 depending on the OS