Remove #if statements in source code