Fix bulding of debug libs on install w/o debugging
Merge branch 'master' into remove_subimage