Compilation of Linux compilation fixes

This contains many fixes to get RoR compiling on linux and a small adjustment to CMake to print more information for debugging.