fix c_flags and cxx_flags
fix attribution of -fPIC
fix flags again