Fix for TeamCity test runner scripts