Need the full path to image files to install since we change directories
Fix additional source problems
Add a check for the patch command