sl/glconf: make rebuild faster when touching config.h

... in case we use ccache
sl/config.h: add option to disable state-level join

Suggested-by: Petr Peringer