Fix build and add PIE updates from PA