more portable way to specify the packaging directory