added base64 serialisation option to CMake file