Fix building on GCC 4.4+

Obviously GCC can't really tell the difference between including a
header and including a source file from another source file. So if the
included source file had an anonymous namespace, GCC starts to complain
that you actually are including a header with anonymous namespaces.