scripts: hopefully fix infinite looping caused by dots during long-running compile commands