rebuilding after cdde576182a99335149d9144ba8732dd7cc419b9
revert broken parts of cdde576182a99335149d9144ba8732dd7cc419b9

Thanks @alagopus.
fix 'litcoffee' extension support

As pointed out by @satyr in 27551b23f3e8b3568b97b823226b89ed9c28802e
Merge commit 'f672e0cdb5cd5b1d065cdc51fc7c337a7708b4f4'