disable exceptions in cmake build