Cement board siding and PVC rails and trim can deter carpenter bees.
M. Waldvogel, NCSU-Entomologgy