Updates build settings: disables modules

Fixes #2237