Add definition _ALL_SOURCES for some platforms