added option 'flags' to client SConstruct [SERVER-6940]