use dist instead of lib as distribution folder