updated for CYCLUS_ROOT_DIR
fixed endif clause
fixed indentation
Merge pull request #279 from scopatz/cycroot

updated for CYCLUS_ROOT_DIR
nightly build