build scripts with version detection, remove header & lib checks