Make make rules more portable