Fix for Darwin