Wrap the extension list
Fix warnings and add -Wall