feat(third_party): add -arch and -os flags

This is to fix issue #3