Added configuration to the example
Fixed example compilation