use /usr/bin/perl in the case that /usr/local/bin/perl does not exist
added debian's control template
fixed architecture setting problem on debian
removed annoy debug message
use dpkg --print-architecture to find arch string on debian system
Merge pull request #24 from jianingy/debian-issues

fixed build issues of debian/ubuntu