Conditionnally add the build deps for the demo

Since the build flag is false by default, the demo deps will not appear on
hackage.