fixing builds to add bin directory if it doesn't already exist