created separated build and app dirs

This fixes the problem we were having with the Python buildpack.