Some minor cleaning up [ci skip].
Can now build both the CLI and GUI version of OpenCOR at the same time on Windows (closes #343).