allow chaining of setCompileInputs

Hello @giannic, 

Please review the following commits I made in branch 'nick-compileinputs'.

09e457cae4779618137991aa501edc324f763bf7 (2014-04-22 22:36:36 -0400)
allow chaining of setCompileInputs

R=@giannic