Fix some compilation warnings
Fix tests compilation
Merge branch 'patches' of https://github.com/jdekozak/ardour