rebuilding after cdde576182a99335149d9144ba8732dd7cc419b9
revert broken parts of cdde576182a99335149d9144ba8732dd7cc419b9

Thanks @alagopus.
fix 'litcoffee' extension support

As pointed out by @satyr in 27551b23f3e8b3568b97b823226b89ed9c28802e