Fix sample build to work in auto-build in Team City