More BSD support (gmake)