Disabling dynamic library in setup