Fix for stupid swift compilation issues