Made CSK_HOME check conditional.