Allow using prebuilt source files

This also has misc. drive-by fixes, such as dropping the chown call which made this require sudo. As well as replacing the package file rather than failing.