Made it properly compile with and without git

ty cryze for sending me stuff over skype ^^