Disabled compiler-warnings, added missing library pthread, fixed Rootpath for crosscompiling and made findhbc/findhexabus work