Fix build for devices that need pie disabled

Change-Id: If00bf1e3be7db22c39890b13886f9ee2ea0d60e9