Add check_pexe.sh script and change make.sh to use it