For me it was because i included files with no extensions. After adding the correct extension to the file the build succeeded