slang: Fix build and add postinstall script.