fixed bug where references files are not used when compiling drone files