Fix big file support in cmake

Tested by Fabio
4 files changed