Fix flags for Linux