Security fix: use StringBuffer_append correctly
Add support for multi-arch now that wheezy is released