fix(CMakeLists): remove -pthread flag when compiling using Boost on OSX

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>