Fix some more compiler warnings for build errors