changed deployment target to 5.1.1 and added support for 64-bit builds

changed deployment target to 5.1.1 and added support for 64-bit builds