added SCHUDULER constant to compile with various schedulers.