Adding directx module
Tweaking common options