Ensure parent directory are compiled first