Added requirement for core.

I also required this line in order to successfully compile with a non-system opencv 2.4.8. Otherwise, I had linking errors.