modified variable reference to comply with CMake policy CMP0012
fixes issues with the types supported in xdress;
however, ran into known issue with std::pairs as they are currently not being wrapped by xdress (https://github.com/xdress/xdress/issues/116)