* build script: moved the compiler setup/check to the top (before arg handling), this is necessary because there might be no 'cc' binary and since clang is required anyways, use clang instead of cc (to check for the active arch)