compile fixes

hope this works, I am new to github!