update config.sh
update config.sh
Fix out of memory errors during compile
Fix preprocess scripts