Remove USE_COCOA flag and manually move the binary when building on OS X

Now it is able to compile on OS X  and passes all the tests. I found another issue that is related with the command ```make install DESTINATION_PATH```, internally it uses ```install``` with a parameter -D, this is only present in the GNU versions so it fails on OS X. As a workaround it manually moves the binary to the correct location.