trying to make gnu and bsd make both happy