remove compiler errors and warnings (gcc4.6)

remove trivial assertions, add <iomanip> for std::setw