make build succeed on older g++ version by reordering args