Merge pull request #34 from Ralith/debug-opt

Debug flag for building shims with -g