adjusting build for external projects