Revert "Couple fixed to qrcode to work with autotools compiling"

This reverts commit af1d173c4bbfcd84d68d0365541d6d4bef07c68c.