Drop dropped files from BUILT_SOURCES
Add a missing function