Only build snippets in developer builds with enabled examples.

Task-number: QTBUG-37638
Change-Id: I2277f3fa9aab252bfba2103bee7c2b89e92ca26f
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>