compilation fix for linux; use string::swap instead of std::swap
change how version is printed