Check to make sure all #if directives have corresponding #endif