Use runtime directory to get crossgen path instead of device api directory