Appended SPIRE_ to OS specific definitions.

Also re-added noexcept keyword. Wrapped to avoid visual studio.