fixed out-of-tree build of static resources