more compile fixes (damn you Visual studio)