Fixed some gcc typedef warnings. Fixed a headers miss in sparse view test