Some Ubuntu / Win cmake handling.