fixed spelling error
fixed lots of stuff in debian build system