Fixes building on Linux.

- Apparently sometimes needs to link against CVARS.
calibgrid-hal also needs to link against CVars.
Added analytical projection derivatives for Linear/Fov models. Still need to implement derivatives for other models.
removed unused variable
Fixed linker error