linux: make stand-alone build on Linux