Detech whether we are using GNU tar and adjust options as required.