Fix for linking in MS VS and CodeBlocks.
Merge pull request #3 from o01eg/my-diff

Fix for linking in MS VS and CodeBlocks.