Implement a fallback if the Foundation import fails. Stupid MacOS.