updated build scripts for 3.6.11+538