added limits include to fix compile error on ubuntu 12.04
fixed checkpoint_dir path
Merge pull request #8 from rdoroshenko/master

Added limits include to fix compile error on ubuntu 12.04