Add render lock for MinGW
Fix finding log4cpp on Windows
Merge pull request #37 from Mixaill/master

Workaround for cairo crash on Windows