An attempt to fix #203

Fixes https://github.com/BinPy/BinPy/issues/203

@rvraghav93 Please review this.