build: fix line numbers that is altered by -x