Pass datadir on CLI instead of via #define