CHG: Updates from svn (improved configuration and clang compilation)