Improved makefile. Now recompiles on header changes. Updated submodules to ssh instead of https.