fix bad pushd in compile script

Signed-off-by: David Wadden <dwadden@pivotal.io>