fix: update mac osx stuff
add: test for libs: rt, pthread