fixes compile error with opencv 2.4.6
issue #68