use dirname(__FILE__) for bringing php dep down from 5.3.0 to 5.1.0
extra copy_to_build target to include only relevant files in package.xml