Fix compile error in dev-build