Do not override flags specified by user

Signed-off-by: Anatol Pomozov <anatol.pomozov@gmail.com>