fixing setup to export static