Working debian build system
Added dependecies
Fixed issues preventing successful build