PIE bugfix for header