Fixed minor issues with building and validation and size of the binary
Fixed entitlements issue