Bugfix in the configure.py script

- Fixed a bug in parsing of LDFLAGS in the configure python script.