Make postinstall command work for Windows and Linux

Useful for people who are on Windows too.