Fixed error message on non-Windows environments
Merge pull request #1140 from larsjohnsen/fix_make_preserve_error

Fixed make error on non-Windows environments