Changed "#pragma pack" to C++11 "alignas" (reverted from commit ab7be9bdf580e995d0a42074f4aa386b45c6d313)