Fixed distribution generation.
Fixed distributable building.
Make libconfig linker flag appear at end of command.