ser_free_cache should be static to avoid linker errors on certain compilers. Fixes #14.