improve heuristic for detecting when we are running on a 64bit platform
add support for 'append' option
Merge pull request #340 from salva/develop

improve heuristic for detecting when we are running on a 64bit platform