1. use jdisp whiel WITH_X11 is defined.
2. change default ios sdk to 8.1.
3. resoved some issue when compline openssl.