adding -std=c11 flag
minor cleaning