[PATCH] Fix compile for CONFIG_SYSVIPC=n or CONFIG_SYSCTL=n