Small changes to make it compile on Fedora Core 20. Linker error with liblog4cplus remains as with OpenSuSE.