fix(CMakeLists): add static support for OS X