corrected mamp's install

Closes #3968.