Fixes --extdir parameter for unitperf so extension classes are found