Merge pull request #35 from vikramrajkumar/master

Fix log rotation scheduling bug
Fix CMake warning