Filter boot scripts for duplicates on compile.

This prevents bootScripts from being run twice when using
bootScripts option to define boot script order.