Fix C compiller running script which is used in tests