CMake: Only build 'direct' if BUILD_DIRECT is on.
CMake: 'direct' depends on 'panda'
CMake: Only build 'autorestart' on UNIX.