Actually fix the OS X bug by re-ordering linked packages