fixes cortex.scripts.prebuild; fixes #130