fix building assets from component, correctly support absolute paths