Fix library properties: set API and ABI version, set full lib path on OS X to help dyld