Fixes compile error on ubuntu vivid, gets all but three tests passing, ensures repo has folders needed to run tests