[megasync] Correct cmake build.