build options for osx, extra libs, instructions