Avoid warnings about redefined macros "__host__" and "__device__".
Compile with -Werror by default on non-Windows platforms.
Merge pull request #457 from jaredhoberock/werror

Werror