Fix uninitialized warnings causing build failure