Fix build process

Without the patch build process fails on CentOS machine when eg. trying to build perl module in. I believe those 2 extra percent signs are just a typo.