Fix build error, missing directory creation