adapting building process to fn-version