fixed for windows build (postInstall did not correctly handle non 'so' file cases anymore