Make core build depend on src files
Check in improved bower generation script