Fix icf settings for head and stack size