Use an export syntax that is Bourne shell-friendly