add --enable-oldtls, build and leanpsk check