Fixing Issue #21

Fixing the issue brought up by @brunocanella in [Issue 21](https://github.com/Rapptz/sol/issues/21). Should be merged in soon by @Rapptz. All tests pass on both GCC and VC++.