Fixed to compile

Signed-off-by: David Silver <dms.silver@gmail.com>
Merge branch 'master' of https://github.com/TigerStripes/Flexible-Survival
complete phase 1