fix gcc options

Signed-off-by: Sandy Zhou <sandy.zhou@maxwit.com>