add conditional compilation example

Closes gh-34.