add mechanism for exlcuding files when building plgx