fixing compilation errors on Linux

directory and file names are case sensitive!
std::cerr requires an #include
Merge pull request #273 from hmaon/seriously

fixing compilation errors on Linux