Remove run-time dependency on dsp

When built without Qt, image doesn't have a run-time dependency on dsp.
Remove old, non-functional function
Remove white space at line end
Remove dependency on librt on non-posix systems