Support for CLion IDE; and trying to compile against cygwin (incomplete.