Fixed .cpp compilation