debian build and versioning fixes