build: improve platform portability
dep: serve-index@1.0.2