Replace 'mkdir -p' with $(MKPATH) which seems more portable.