fstrict-aliasing for host and target static libs

Change-Id: I23c3e00ba2076fe5c29319f03a2e23e366b82cee