separate out parameter references for API call to fix build problem

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>