Removing the dylib generation

I don't know why but the dylib generation was very unreliable here and causing problems. However, linking to the .a files works on OSX and I assume it will on Ubuntu as well.