Set win64 flag; slight add_bitmaps_x86 tweak; support out-of-tree test and profile builds
Try using r6m to handle win64's calling conventions better