Fixed all apps, libs and samples (gcc+clang)