remove spurious libs on OS X