add support for building with or without "userspace"