Fix unused variable warnings
Fix msvc-12.0 constexpr errors
Merge pull request #5 from awulkiew/fix/constexpr

Fix the use of constexpr in msvc-12.0