Microsoft has recently updated the DirSync tool (directory synchronization) to allow installation on x64 platforms.
To download the updated version, go to your Office 365 administration portal and go to the User Management section\Active Directory synchronization and click Setup (step 4)