Get resource directory in build.