Added Windows function attributes for exporting in DLL.
Removed semaphore dependency on Windows since it does not exist. Will have to find a substitute, but for now thread support is not supported on Windows.
Do not link to pthread on Windows.
Added static functions for unit tests to get random sized buffer.
Added a random buffer and rounds unit test.