fixes #325, add exclude to copy compiler