clean build process. compile 3rdparty libraries when needed. autodetection of arch (i386/x86_64)