use a more portable version macro