Fixed GUI compilation