Fix access violation on x64 platform
Merge pull request #34 from alexeyvo/development

Fix access violation on x64 platform