fixed bug in Config when statically linked on Linux