fix old buildsystem (closes #12)