Fix build on opencv 2.4 ubuntu

Not sure if it'll work generally
Ignore build artifacts