Build system: Improved simulation of dynamic modules. Dynamic modules are now simulated with static modules when not available. This includes having stub *.so files that are loaded with load_module(). This fixes issues with eg loading Nettle without dynamic modules.