Replace bools with ints where we use '#if' in C sources.