Make it work with BSD gmake