Fixed build issues in example