Merge pull request #25 from tribal-tec/master

Fix Win32 debug build
MTQueue: Implement vector pop
Minor cleanups
Adapt to new defines semantics
Fix #26: Hide pthread from API
Fix Ubuntu build