Fixes for install and test warnings