added osx framework and test targets