added IPDIR option to Makefile.common

Change-Id: I98f95945ef2bd9a8ec7a7f09a559d94ed2a17dc4