Fixes to libspud build out-of-tree.