Fixed a typo
Fixed the closing #endif directive