Finally got conditional compilation working on pi