make it actually compile

Fixing more than a year of developing without an IDE. Now I know why we use IDEs.