Reproduce success/errors when creating/linking static libraries on OS X