Fixed resource copy after build.