added nested prebuild checking: 1. check if manually built binaries OK, 2. check if downloaded binaries OK, 3. attempt a build
added syntax fixing