Make everything work on macOS Leopard again