add build static support