Small fix to make sure the 3rd party sources are compiled only once.