Improve building of libaudiofile

It seems that -lstdc++ is required for linking example programs
when the library is statically compiled.