Fix int overflow on 32 bits machines. Fixes #51
Remove addon template
Helper makefile to cross build. Works on my machine.