Add dependencies on project configurations

Related to 345cfaef70438ea9d144af1161d850f81b318204 and #11