Modified SConstruct to fix bug with scalasca compilation

Signed-off-by: Gaurav Kukreja <gaurav.kukreja@tum.de>