Fixes crash on start for 10.7 while hopefully not creating issues for newer versions