Fixing compilation flags