More fixes for Powershell 3 support