Quiet all warnings while building packages

+ because '-Wunused-local-typedefs' is defined since gcc 4.8 I've
  changed it to '-w' which quiets all warnings -- we don't really need it
  while building packages.