[runtime] Fix some automake conditionals in scripts/, they should be in the beginning of the line.