Updated project to be valid C++ (though it's still C)