build a standalone version