For avoid compilation error due to platform specific patches, first apply the common patches and later apply platform specific patches. Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>