updating build scripts to new versions of gnu sources