Various attempts to get PIE working

All failed, try again tomorrow. Ian Scott was working on it.