Fixes build with/without options