For easy changing different ROM

Signed-off-by: Shaka Huang <shakalaca@gmail.com>
auto add flag for OS X

Signed-off-by: Shaka Huang <shakalaca@gmail.com>