Build Error Fix - INT32_MAX Error Resolved, Minor Edits to Source

 - INT32_MAX undefined error (as described in issue #398) resolved by adding __STDC_LIMIT_MACRO definition to root CMakeList
 - Fixed minor error preventing successful build due to attempt to access protected member. Edited to use the proper setter method.