Fixed Q_OS_UNIX definition. Required for Linux build

GCC doesn't seem to like non-explicit #elif XXX.
Other than this, apm_planner compiles quite nicely under Ubuntu now.