fixes #16

had pre and post backwards. also fixed the windows build settings.