WIP: Explicitly test for the existence of GCC's swap

MingW doesn't seem to have the intrinsic function available.

Related to issue #13.