fix GNUisms