better makefile that can handle opencv compiled with cuda, uses pkg-config for python settings, and remove unused libs