add "-ffreestanding" flag