Added build and test targets for Mac