convert mat to binary
Save mat to binary file.
Change compiler standard to c++0x and link opencv