Adjusted to work better with debian build file.