clean build process. compile 3rdparty libraries when needed. autodetection of arch (i386/x86_64)
Merge branch 'patch1' into devel