Removing exports when not required by thirdparty libs