remove unused flags
BUGFIX: fix syntax error for allow_x11
modify extra_external, allow_x11 flag documentation