Added missing #endif

Whoops.
Merge pull request #91 from Lord-Kamina/master

Added missing #endif
things like these overcome the best :-)