Remapped a few functions, types, and macros. Moved declarations.

These items address compilation issues under VS2012.
Fixed linking issue for Win64 hosts.

CMake's WIN32 is true for both 32 and 64-bit hosts, so we must
instead use CMAKE_CL_64 or CMAKE_SIZEOF_VOID_P.
libbladeRF: Added API_EXPORT for API routines.
Updated async test

Updated to be able to compile with VS2012.  Untested, and probably won't
work correctly.
Added pthreads-win32, and getopt/getopt_long to Windows build.
bladeRF-cli: Fixed struct field initializers and removed use of unistd.h
bladeRF-cli: Fixed pthreads-win32 linking issue