Had forgot to update the non-windows block of code.