Fix compiler warnings and build

C comments