Bug fix: resources were not copied in RELEASE mode.