Fixed linux compilation (viewer broken)