Fix compile errors on IDE 1.05