Fixes for Linux build.
Merge pull request #2299 from ey6es/master

Fixes for Linux build: now that the resources are copied, use the resource directory next to the binary.  Because the resource compiler puts a file into resources, don't delete the resources before copying.