Add opencv2.framework, fix compilation errors with libstdc++. Add <stdlib.h>