Fixed directories not being created
Updated build