updated some build scripts; temporarily deleted pragma refactoring stuff in order to make tutorials build on CI