fix base64_encode function prototype mismatch
windows port