Use unique include guard to fix compilation on MacOSX

`_SCHED_H_` is defined by system's library.