grunt should create API directory if it doesn't already exist

Fixes issue #532