add new ways to build jpeg libs
use cmake to compile ios static lib
fix header file
fix android build