Set apr directory correctly