modifies libmcrypt build script according to guidelines