Linux build fails due to undeclared variable
Merge pull request #526 from breese/master

Fixed Linux compilation problem