FreeImage as a static dependency, CrossOF now uses CMake modules instead of hardcoded paths for dynamic dependencies on Linux, scripts cleanup