Fixing regression in composer post scripts

Fixes regression on Windows where composer update and composer install because the path is hardcoded to only work on *nix systems.

Reference on the forum: http://www.silverstripe.org/installing-silverstripe/show/24499