fix compiler warning causing fail in cmake build