added comments and #ifdef __cplusplus to standard headers