add missing header comments
fix Unix build