As proposed in #31, this will be then handled automatically by libflags. let's merge this first, I'll fix this after this is in.