Make it possible to compile this on Linux

The changes to cmake/util.cmake aren't mine, I simply copied the file from the cmake branch.
I added GTK as a dependency for the CEF headers and made some small changes to make gcc happy.
Do you know by what code this header is needed? Might be better to move the include there and not require these files to remember to include `<algorithm>`.