Eliminate unused local typedef.
Merge pull request #456 from jaredhoberock/unused-local-typedefs

Eliminate unused local typedef.
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