diff --git a/libcorpus2/tagsetmanager.cpp b/libcorpus2/tagsetmanager.cpp
index a9a02fc5c8d38f600c0c6812016bb9a0b638afb7..35b6130b251e8ef6cc327b2d143f7485d3faf7b4 100644
--- a/libcorpus2/tagsetmanager.cpp
+++ b/libcorpus2/tagsetmanager.cpp
@@ -43,7 +43,7 @@ const Tagset& TagsetManager::get_tagset(const std::string &name)
 		id_cache_.insert(std::make_pair(ptr->id(), ptr));
 		ptr->set_name(name);
 		if (Path::Instance().get_verbose()) {
-			std::cerr << "Tagset '" << name << " loaded with id "
+			std::cerr << "Tagset '" << name << "' loaded with id "
 				<< (int)ptr->id() << "\n";
 		}
 	}
diff --git a/libpwrutils/bitset.h b/libpwrutils/bitset.h
index 2b5342b8e2aa5c751e763843e15465c20ce32341..f62feeb1bdefce72435d49b08088d596bf3f5c94 100644
--- a/libpwrutils/bitset.h
+++ b/libpwrutils/bitset.h
@@ -6,6 +6,7 @@
 #include <bitset>
 #include <boost/functional/hash.hpp>
 #include <boost/pending/lowest_bit.hpp>
+#include <climits>
 
 
 namespace PwrNlp {