Change config parameters

Fixed configuration to respect custom exec-prefix location of thrift and fb303